﻿<%@ Register TagPrefix="ASE" TagName="DetailCategoryMeal" Src="/DetailCategoryMeal.ascx" %>
<%@ Register TagPrefix="ASE" TagName="DetailCombo" Src="/DetailCombo.ascx" %>
<%@ Register TagPrefix="ASE" TagName="DetailGroupMeal" Src="/DetailGroupMeal.ascx" %>
<%@ Register TagPrefix="ASE" TagName="DetailCategoryDrink" Src="/DetailCategoryDrink.ascx" %>
<%@ Register TagPrefix="ASE" TagName="DetailCategoryMealSmallBig" Src="/DetailCategoryMealSmallBig.ascx" %>

<%@ Page Title="" Language="C#" MasterPageFile="~/main.Master" AutoEventWireup="true"
    CodeBehind="Home.aspx.cs" Inherits="AsiaSnackExpress.Home" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="/Styles/flexslider.css" media="screen" rel="stylesheet" type="text/css" />
    <!-- informer div end -->
    <script type="text/javascript" src="./Scripts/20130425062451.js"></script>
    <script type="text/javascript" src="./Scripts/autogrow.js"></script>
    <script type="text/javascript" src="./Scripts/cookies.js"></script>
    <script type="text/javascript" src="./Scripts/data.js"></script>
    <script type="text/javascript" src="./Scripts/hideshowV2.js"></script>
    <script type="text/javascript" src="./Scripts/bookings.js"></script>
    <script type="text/javascript" src="./Scripts/restaurant.js"></script>
    <script type="text/javascript" src="./Scripts/home-accordion.js"></script>
    <!-- Syntax Highlighter -->
    <script type="text/javascript" src="./Scripts/jquery.flexslider.js"></script>
    
    <script type="text/javascript">
        $(window).load(function () {
            $('.flexslider').flexslider({
                animation: "slide"
            });
        });

        $('#location').change(function () {
            if ($('#availability').get(0)) {
                $('#book_this_table').click();
            }
        });

        function updateAvailability() {
            var promotionId = $('#promotionId').val();
            $('#availability fieldset').html('<div class="wait-loading loader_spinner" style="margin-top:20px">&nbsp;</div>');
            var rLiveBookingsId = $('#rLiveBookingsId').val();
            var date = $('#date').val();
            var time = $('#time').val();
            var people = $('#people').val();
            var branchAddress = $('#location').val();
            $('.error-booking').remove();
            $('.form_error').remove();
            $.get("/livebooking/get-availability/", {
                rLiveBookingsId: rLiveBookingsId,
                branchAddress: branchAddress,
                size: people,
                date: date,
                promotionId: promotionId,
                time: time,
                promotionChanged: $('#promotionChanged').val(),
                pageCompany: $('#pageCompany').val()
            }, function (data) {
                $('.error-booking').remove();
                $('.form_error').remove();
                $('#availability').html(data);
            });
        }
        var lat = ""; var long = "";
    </script>
  
    <style type="text/css">
        #slides
        {
            display: none;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <!-- Main Content -->
    <div id="content">
        <div class="row hero3 black intro homepage">
            <div class="col-1 fleft">
                <div class="toggle_container toggle_container1 active">
                    <ASE:DetailCombo ID="detailCombo1" ComboOrder="1" Active="true" runat="server" />
                </div>
                <div class="toggle_container toggle_container2">
                    <ASE:DetailCombo ID="detailCombo2" ComboOrder="2" runat="server" />
                </div>
                <div class="toggle_container toggle_container3">
                    <ASE:DetailCombo ID="detailCombo3" ComboOrder="3" runat="server" />
                </div>
               <%-- <div class="toggle_container toggle_container4">
                    <ASE:DetailCombo ID="detailCombo4" ComboOrder="4" runat="server" />
                </div>--%>
                <!--<a href="/about-us/who-we-are/" class="yellow">Find out more</a>-->
            </div>
            <div class="clear">
                <!-- spacer -->
            </div>
        </div>
        <!-- end leading stripe -->
        <!-- bookings stripe -->
        <div id="booking" class="white stretch">
            <div class="flexslider">
                <ul class="slides">
                    <li>
                        <table cellpadding="0" cellspacing="0" width="100%">
                            <tr valign="top">
                                <td>
                                    <div class="catergory1">
                                        <ASE:DetailCategoryMeal ID="catergory1" CategoryOrder="1" runat="server" />
                                    </div>
                                    <div class="catergory3">
                                        <ASE:DetailCategoryMeal ID="catergory2" CategoryOrder="2" runat="server" />
                                    </div>
                                    <div class="catergory3">
                                        <ASE:DetailCategoryMeal ID="catergory3" CategoryOrder="3" runat="server" />
                                    </div>
                                </td>
                                <td>
                                    <div class="catergory2">
                                        <ASE:DetailCategoryMeal ID="catergory4" CategoryOrder="4" runat="server" />
                                    </div>
                                    <div class="catergory2">
                                        <ASE:DetailCategoryMeal ID="catergory5" CategoryOrder="5" runat="server" />
                                    </div>
                                    <div class="catergory2">
                                        <ASE:DetailCategoryMeal ID="catergory6" CategoryOrder="6" runat="server" />
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </li>
                    <li>
                        <table cellpadding="0" cellspacing="0" width="100%">
                            <tr valign="top">
                                <td>
                                    <div class="catergory1">
                                        <ASE:DetailCategoryMeal ID="DetailCategoryMeal1" CategoryOrder="1" runat="server" />
                                    </div>
                                    <div class="catergory3">
                                        <ASE:DetailCategoryMeal ID="DetailCategoryMeal2" CategoryOrder="2" runat="server" />
                                    </div>
                                    <div class="catergory3">
                                        <ASE:DetailCategoryMeal ID="DetailCategoryMeal3" CategoryOrder="3" runat="server" />
                                    </div>
                                </td>
                                <td>
                                    <div class="catergory2">
                                        <ASE:DetailCategoryMeal ID="DetailCategoryMeal4" CategoryOrder="4" runat="server" />
                                    </div>
                                    <div class="catergory2">
                                        <ASE:DetailCategoryMeal ID="DetailCategoryMeal5" CategoryOrder="5" runat="server" />
                                    </div>
                                    <div class="catergory2">
                                        <ASE:DetailCategoryMeal ID="DetailCategoryMeal6" CategoryOrder="6" runat="server" />
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </li>
                    <li>
                        <table cellpadding="0" cellspacing="0" width="100%">
                            <tr valign="top">
                                <td>
                                    <div class="catergory1">
                                        <ASE:DetailCategoryMeal ID="DetailCategoryMeal7" CategoryOrder="7" runat="server" />
                                    </div>
                                    <div class="catergory3">
                                        <ASE:DetailCategoryMeal ID="DetailCategoryMeal8" CategoryOrder="8" runat="server" />
                                    </div>
                                    <div class="catergory3">
                                        <ASE:DetailCategoryMeal ID="DetailCategoryMeal9" CategoryOrder="9" runat="server" />
                                    </div>
                                </td>
                                <td>
                                    <div class="catergory2">
                                        <ASE:DetailCategoryMeal ID="DetailCategoryMeal10" CategoryOrder="10" runat="server" />
                                    </div>
                                    <div class="catergory2">
                                        <ASE:DetailCategoryMeal ID="DetailCategoryMeal11" CategoryOrder="11" runat="server" />
                                    </div>
                                    <div class="catergory2">
                                        <ASE:DetailCategoryMeal ID="DetailCategoryMeal12" CategoryOrder="12" runat="server" />
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </li>
                    <li>
                        <table cellpadding="0" cellspacing="0" width="100%">
                            <tr valign="top">
                                <td>
                                    <div class="catergory1">
                                        <ASE:DetailCategoryMeal ID="DetailCategoryMeal13" CategoryOrder="13" runat="server" />
                                    </div>
                                    <div class="catergory3">
                                        <ASE:DetailCategoryMeal ID="DetailCategoryMeal14" CategoryOrder="14" runat="server" />
                                    </div>
                                    <div class="catergory3">
                                        <ASE:DetailGroupMeal ID="DetailCategoryMeal15" CategoryOrder="15" runat="server" />
                                    </div>
                                </td>
                                <td>
                                    <div class="catergory2">
                                        <ASE:DetailGroupMeal ID="DetailCategoryMeal16" CategoryOrder="16" runat="server" />
                                    </div>
                                    <div class="catergory2">
                                        <ASE:DetailGroupMeal ID="DetailCategoryMeal17" CategoryOrder="17" runat="server" />
                                    </div>
                                    <div class="catergory2">
                                        <ASE:DetailCategoryMealSmallBig ID="DetailCategoryMealSmallBig18" CategoryOrder="18" runat="server" />
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </li>
                    <li>
                        <table cellpadding="0" cellspacing="0" width="100%">
                            <tr valign="top">
                                <td>
                                    <div class="catergory1">
                                        <ASE:DetailCategoryMeal ID="DetailCategoryMeal19" CategoryOrder="19" runat="server" />
                                    </div>
                                    <div class="catergory3">
                                        <ASE:DetailCategoryMeal ID="DetailCategoryMeal20" CategoryOrder="20" runat="server" />
                                    </div>
                                    <div class="catergory3">
                                        <ASE:DetailCategoryMeal ID="DetailCategoryMeal21" CategoryOrder="21" runat="server" />
                                    </div>
                                </td>
                                <td>
                                    <div class="catergory2">
                                        <ASE:DetailCategoryDrink ID="DetailCategoryDrink" CategoryOrder="22" runat="server" />
                                    </div>
                                    <div class="catergory2">
                                        <ASE:DetailCategoryMeal ID="DetailCategoryMeal23" CategoryOrder="23" runat="server" />
                                    </div>
                                    <div class="catergory2">
                                        <ASE:DetailCategoryMeal ID="DetailCategoryMeal24" CategoryOrder="24" runat="server" />
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </li>
                </ul>
            </div>
        </div>
        <div id="shrinkfit">
            <div id="sf_content" class="content">
            </div>
        </div>
        <div id="dummy" style="display: none;">
        </div>
        <span id="ruler" style="display: none; font-size: 26px;">11:30</span>
        <div class="clear">
        </div>
        <noscript>
            &lt;img width="0" height="0" src="http://log.dmtry.com/redir/1/0/2758/182500/0/1/1.ver?at=e&amp;d=ChannelJS%20noscript%20-%20channel%20recognition"&gt;</noscript>
        <div class="clear">
            <!-- spacer -->
        </div>
    </div>
</asp:Content>
